package com.blb.ioc.demo3;

public class ComputerFactoryTest {

    public static void main(String[] args) throws InstantiationException, IllegalAccessException {
        ComputerFactory computerFactory = new ComputerFactory();
        Computer computer = (Computer) computerFactory.getBean(Computer.class);
        computer.start();
    }
}
